package com.dly.hope.workflow.ro;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @classname: ConditionInfoRO
 * @description:
 * @author: Danny Chen
 * @create: 2022-01-19 15:29
 */
@Data
public class ConditionInfoRO {

    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 条件名称
     */
    @ApiModelProperty(value = "name")
    private String name;

    /**
     * 流程ID
     */
    @ApiModelProperty(value = "processId")
    private String processId;

    /**
     * 条件表达式，最终计算出Boolean类型的值
     */
    @ApiModelProperty(value = "expression")
    private String expression;

    /**
     * 满足条件后跳转的节点ID
     */
    @ApiModelProperty(value = "gotoNodeId")
    private String gotoNodeId;

    /**
     * 序号
     */
    @ApiModelProperty(value = "seqNo")
    private Integer seqNo;

    /**
     * 满足条件后调用的API
     */
    @ApiModelProperty(value = "eventApi")
    private String eventApi;

    /**
     * 备注
     */
    @ApiModelProperty(value = "remark")
    private String remark;

}
